package com.xzr.yespaper.mapper;

import com.xzr.yespaper.bean.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    public List<Comment> getByPaper(Long pid);
    public void createByID(Comment comment);
    public void updateByID(Comment comment);
    public void deleteByID(Long id);
}
